import { defineStore } from "pinia";

export const useUserStore = defineStore('user',{
    state:()=>{
        return {
            name: 'smt',
            age: 32
        }
    },
    actions:{

    },
    getters:{
        newName:(state)=>{
            return `syy+${state.name}`
        }
    }
})